1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
3 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
4 <link rel=
"stylesheet" type=
"text/css" href=
"../refdoc.css">
5 <title>Namespace: System.Security.Permissions
</title>
8 <h2>Namespace: System.Security.Permissions
</h2>
11 <p> The
<a href=
"../System.Security.Permissions/System.Security.Permissions.html">System.Security.Permissions
</a> namespace defines classes that control access to operations and resources based on policy.
</p>
14 <h3>Members of System.Security.Permissions Namespace
</h3><b>Classes
</b><dl>
16 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
18 <th bgcolor=
"#C0C0C0">Class
</th>
19 <th bgcolor=
"#C0C0C0">
24 <td width=
"30%"><a href=
"types/CodeAccessSecurityAttribute.html">class CodeAccessSecurityAttribute
</a></td>
25 <td width=
"60%"> Specifies the base attribute class for code access security.
29 <td width=
"30%"><a href=
"types/EnvironmentPermission.html">class EnvironmentPermission
</a></td>
30 <td width=
"60%"> Controls access to system and user environment variables. This class cannot be inherited.
34 <td width=
"30%"><a href=
"types/EnvironmentPermissionAttribute.html">class EnvironmentPermissionAttribute
</a></td>
35 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/EnvironmentPermission.html">EnvironmentPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
39 <td width=
"30%"><a href=
"types/FileDialogPermission.html">class FileDialogPermission
</a></td>
40 <td width=
"60%"> Controls the ability to access files or folders through a file dialog. This class cannot be inherited.
44 <td width=
"30%"><a href=
"types/FileDialogPermissionAttribute.html">class FileDialogPermissionAttribute
</a></td>
45 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/FileDialogPermission.html">FileDialogPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
49 <td width=
"30%"><a href=
"types/FileIOPermission.html">class FileIOPermission
</a></td>
50 <td width=
"60%"> Controls the ability to access files and folders. This class cannot be inherited.
54 <td width=
"30%"><a href=
"types/FileIOPermissionAttribute.html">class FileIOPermissionAttribute
</a></td>
55 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/FileIOPermission.html">FileIOPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
59 <td width=
"30%"><a href=
"types/IsolatedStorageFilePermission.html">class IsolatedStorageFilePermission
</a></td>
60 <td width=
"60%"> Specifies the allowed usage of a private virtual file system. This class cannot be inherited.
64 <td width=
"30%"><a href=
"types/IsolatedStorageFilePermissionAttribute.html">class IsolatedStorageFilePermissionAttribute
</a></td>
65 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/IsolatedStorageFilePermission.html">IsolatedStorageFilePermission
</a> to be applied to code using declarative security. This class cannot be inherited.
69 <td width=
"30%"><a href=
"types/IsolatedStoragePermission.html">class IsolatedStoragePermission
</a></td>
70 <td width=
"60%"> Represents access to generic isolated storage capabilities.
74 <td width=
"30%"><a href=
"types/IsolatedStoragePermissionAttribute.html">class IsolatedStoragePermissionAttribute
</a></td>
75 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/IsolatedStoragePermission.html">IsolatedStoragePermission
</a> to be applied to code using declarative security.
79 <td width=
"30%"><a href=
"types/PermissionSetAttribute.html">class PermissionSetAttribute
</a></td>
80 <td width=
"60%"> Allows security actions for a
<a href=
"../System.Security/types/PermissionSet.html">PermissionSet
</a> to be applied to code using declarative security. This class cannot be inherited.
84 <td width=
"30%"><a href=
"types/PrincipalPermission.html">class PrincipalPermission
</a></td>
85 <td width=
"60%"> Allows checks against the active principal (see
<a href=
"../System.Security.Principal/types/IPrincipal.html">IPrincipal
</a>) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited.
89 <td width=
"30%"><a href=
"types/PrincipalPermissionAttribute.html">class PrincipalPermissionAttribute
</a></td>
90 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/PrincipalPermission.html">PrincipalPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
94 <td width=
"30%"><a href=
"types/ReflectionPermission.html">class ReflectionPermission
</a></td>
95 <td width=
"60%"> Controls access to metadata through the
<a href=
"../System.Reflection/System.Reflection.html">System.Reflection
</a> APIs. This class cannot be inherited.
99 <td width=
"30%"><a href=
"types/ReflectionPermissionAttribute.html">class ReflectionPermissionAttribute
</a></td>
100 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/ReflectionPermission.html">ReflectionPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
104 <td width=
"30%"><a href=
"types/SecurityAttribute.html">class SecurityAttribute
</a></td>
105 <td width=
"60%"> Specifies the base attribute class for declarative security from which
<a href=
"../System.Security.Permissions/types/CodeAccessSecurityAttribute.html">CodeAccessSecurityAttribute
</a> is derived.
109 <td width=
"30%"><a href=
"types/SecurityPermission.html">class SecurityPermission
</a></td>
110 <td width=
"60%"> Describes a set of security permissions applied to code. This class cannot be inherited.
114 <td width=
"30%"><a href=
"types/SecurityPermissionAttribute.html">class SecurityPermissionAttribute
</a></td>
115 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/SecurityPermission.html">SecurityPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
119 <td width=
"30%"><a href=
"types/SiteIdentityPermission.html">class SiteIdentityPermission
</a></td>
120 <td width=
"60%"> Defines the identity permission for the Web site from which the code originates. This class cannot be inherited.
124 <td width=
"30%"><a href=
"types/SiteIdentityPermissionAttribute.html">class SiteIdentityPermissionAttribute
</a></td>
125 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/SiteIdentityPermission.html">SiteIdentityPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
129 <td width=
"30%"><a href=
"types/StrongNameIdentityPermission.html">class StrongNameIdentityPermission
</a></td>
130 <td width=
"60%"> Defines the identity permission for strong names. This class cannot be inherited.
134 <td width=
"30%"><a href=
"types/StrongNameIdentityPermissionAttribute.html">class StrongNameIdentityPermissionAttribute
</a></td>
135 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/StrongNameIdentityPermission.html">StrongNameIdentityPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
139 <td width=
"30%"><a href=
"types/StrongNamePublicKeyBlob.html">class StrongNamePublicKeyBlob
</a></td>
140 <td width=
"60%"> Represents the public key information (called a blob) for a strong name. This class cannot be inherited.
144 <td width=
"30%"><a href=
"types/UIPermission.html">class UIPermission
</a></td>
145 <td width=
"60%"> Controls the permissions related to user interfaces and the clipboard. This class cannot be inherited.
149 <td width=
"30%"><a href=
"types/UIPermissionAttribute.html">class UIPermissionAttribute
</a></td>
150 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/UIPermission.html">UIPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
154 <td width=
"30%"><a href=
"types/UrlIdentityPermission.html">class UrlIdentityPermission
</a></td>
155 <td width=
"60%"> Defines the identity permission for the URL from which the code originates. This class cannot be inherited.
159 <td width=
"30%"><a href=
"types/UrlIdentityPermissionAttribute.html">class UrlIdentityPermissionAttribute
</a></td>
160 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/UrlIdentityPermission.html">UrlIdentityPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
164 <td width=
"30%"><a href=
"types/ZoneIdentityPermission.html">class ZoneIdentityPermission
</a></td>
165 <td width=
"60%"> Defines the identity permission for the zone from which the code originates. This class cannot be inherited.
169 <td width=
"30%"><a href=
"types/ZoneIdentityPermissionAttribute.html">class ZoneIdentityPermissionAttribute
</a></td>
170 <td width=
"60%"> Allows security actions for
<a href=
"../System.Security.Permissions/types/ZoneIdentityPermission.html">ZoneIdentityPermission
</a> to be applied to code using declarative security. This class cannot be inherited.
175 </dl><br><b>Interfaces
</b><dl>
177 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
179 <th bgcolor=
"#C0C0C0">Interface
</th>
180 <th bgcolor=
"#C0C0C0">
185 <td width=
"30%"><a href=
"types/IUnrestrictedPermission.html">interface IUnrestrictedPermission
</a></td>
186 <td width=
"60%"> Allows a permission to expose an unrestricted state.
191 </dl><br><b>Enumerations
</b><dl>
193 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
195 <th bgcolor=
"#C0C0C0">Enumeration
</th>
196 <th bgcolor=
"#C0C0C0">
201 <td width=
"30%"><a href=
"types/EnvironmentPermissionAccess.html">enumeration EnvironmentPermissionAccess
</a></td>
202 <td width=
"60%"> Specifies access to environment variables.
206 <td width=
"30%"><a href=
"types/FileDialogPermissionAccess.html">enumeration FileDialogPermissionAccess
</a></td>
207 <td width=
"60%"> Specifies the type of access to files allowed through the file dialog.
211 <td width=
"30%"><a href=
"types/FileIOPermissionAccess.html">enumeration FileIOPermissionAccess
</a></td>
212 <td width=
"60%"> Specifies the type of file access requested.
216 <td width=
"30%"><a href=
"types/IsolatedStorageContainment.html">enumeration IsolatedStorageContainment
</a></td>
217 <td width=
"60%"> Specifies the permitted use of isolated storage.
221 <td width=
"30%"><a href=
"types/PermissionState.html">enumeration PermissionState
</a></td>
222 <td width=
"60%"> Specifies whether a permission should have all or no access to resources at creation.
226 <td width=
"30%"><a href=
"types/ReflectionPermissionFlag.html">enumeration ReflectionPermissionFlag
</a></td>
227 <td width=
"60%"> Specifies the permitted use of
<a href=
"../System.Reflection/System.Reflection.html">System.Reflection
</a> on members that are not visible.
231 <td width=
"30%"><a href=
"types/SecurityAction.html">enumeration SecurityAction
</a></td>
232 <td width=
"60%"> Specifies the security actions that can be performed using declarative security.
236 <td width=
"30%"><a href=
"types/SecurityPermissionFlag.html">enumeration SecurityPermissionFlag
</a></td>
237 <td width=
"60%"> Specifies access flags for the security permission object.
241 <td width=
"30%"><a href=
"types/UIPermissionClipboard.html">enumeration UIPermissionClipboard
</a></td>
242 <td width=
"60%"> Specifies the type of clipboard access that is allowed to the calling code.
246 <td width=
"30%"><a href=
"types/UIPermissionWindow.html">enumeration UIPermissionWindow
</a></td>
247 <td width=
"60%"> Specifies the type of windows that code is allowed to use.
252 </dl><br><b>Namepace hierarchy
</b><br><ul class=
"none">
253 <li><a href=
"../System/types/Object.html">System.Object
</a></li>
255 <li><a href=
"../System/types/Attribute.html">System.Attribute
</a></li>
257 <li><a href=
"../System.Security.Permissions/types/SecurityAttribute.html">System.Security.Permissions.SecurityAttribute
</a></li>
259 <li><a href=
"../System.Security.Permissions/types/CodeAccessSecurityAttribute.html">System.Security.Permissions.CodeAccessSecurityAttribute
</a></li>
261 <li><a href=
"../System.Security.Permissions/types/EnvironmentPermissionAttribute.html">System.Security.Permissions.EnvironmentPermissionAttribute
</a></li>
264 <li><a href=
"../System.Security.Permissions/types/FileDialogPermissionAttribute.html">System.Security.Permissions.FileDialogPermissionAttribute
</a></li>
267 <li><a href=
"../System.Security.Permissions/types/FileIOPermissionAttribute.html">System.Security.Permissions.FileIOPermissionAttribute
</a></li>
270 <li><a href=
"../System.Security.Permissions/types/IsolatedStoragePermissionAttribute.html">System.Security.Permissions.IsolatedStoragePermissionAttribute
</a></li>
272 <li><a href=
"../System.Security.Permissions/types/IsolatedStorageFilePermissionAttribute.html">System.Security.Permissions.IsolatedStorageFilePermissionAttribute
</a></li>
276 <li><a href=
"../System.Security.Permissions/types/PermissionSetAttribute.html">System.Security.Permissions.PermissionSetAttribute
</a></li>
279 <li><a href=
"../System.Security.Permissions/types/PrincipalPermissionAttribute.html">System.Security.Permissions.PrincipalPermissionAttribute
</a></li>
282 <li><a href=
"../System.Security.Permissions/types/ReflectionPermissionAttribute.html">System.Security.Permissions.ReflectionPermissionAttribute
</a></li>
285 <li><a href=
"../System.Security.Permissions/types/SecurityPermissionAttribute.html">System.Security.Permissions.SecurityPermissionAttribute
</a></li>
288 <li><a href=
"../System.Security.Permissions/types/SiteIdentityPermissionAttribute.html">System.Security.Permissions.SiteIdentityPermissionAttribute
</a></li>
291 <li><a href=
"../System.Security.Permissions/types/StrongNameIdentityPermissionAttribute.html">System.Security.Permissions.StrongNameIdentityPermissionAttribute
</a></li>
294 <li><a href=
"../System.Security.Permissions/types/UIPermissionAttribute.html">System.Security.Permissions.UIPermissionAttribute
</a></li>
297 <li><a href=
"../System.Security.Permissions/types/UrlIdentityPermissionAttribute.html">System.Security.Permissions.UrlIdentityPermissionAttribute
</a></li>
300 <li><a href=
"../System.Security.Permissions/types/ZoneIdentityPermissionAttribute.html">System.Security.Permissions.ZoneIdentityPermissionAttribute
</a></li>
306 <li><a href=
"../System.Security/types/CodeAccessPermission.html">System.Security.CodeAccessPermission
</a></li>
308 <li><a href=
"../System.Security.Permissions/types/EnvironmentPermission.html">System.Security.Permissions.EnvironmentPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
311 <li><a href=
"../System.Security.Permissions/types/FileDialogPermission.html">System.Security.Permissions.FileDialogPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
314 <li><a href=
"../System.Security.Permissions/types/FileIOPermission.html">System.Security.Permissions.FileIOPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
317 <li><a href=
"../System.Security.Permissions/types/IsolatedStoragePermission.html">System.Security.Permissions.IsolatedStoragePermission
</a></li>
319 <li><a href=
"../System.Security.Permissions/types/IsolatedStorageFilePermission.html">System.Security.Permissions.IsolatedStorageFilePermission
</a></li>
323 <li><a href=
"../System.Security.Permissions/types/ReflectionPermission.html">System.Security.Permissions.ReflectionPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
326 <li><a href=
"../System.Security.Permissions/types/SecurityPermission.html">System.Security.Permissions.SecurityPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
329 <li><a href=
"../System.Security.Permissions/types/SiteIdentityPermission.html">System.Security.Permissions.SiteIdentityPermission
</a></li>
332 <li><a href=
"../System.Security.Permissions/types/StrongNameIdentityPermission.html">System.Security.Permissions.StrongNameIdentityPermission
</a></li>
335 <li><a href=
"../System.Security.Permissions/types/UIPermission.html">System.Security.Permissions.UIPermission
</a> ---
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
338 <li><a href=
"../System.Security.Permissions/types/UrlIdentityPermission.html">System.Security.Permissions.UrlIdentityPermission
</a></li>
341 <li><a href=
"../System.Security.Permissions/types/ZoneIdentityPermission.html">System.Security.Permissions.ZoneIdentityPermission
</a></li>
345 <li><a href=
"../System.Security.Permissions/types/PrincipalPermission.html">System.Security.Permissions.PrincipalPermission
</a> ---
<a href=
"../System.Security/types/IPermission.html">System.Security.IPermission
</a>,
<a href=
"../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable
</a>,
<a href=
"../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission
</a></li>
348 <li><a href=
"../System.Security.Permissions/types/StrongNamePublicKeyBlob.html">System.Security.Permissions.StrongNamePublicKeyBlob
</a></li>
351 <li><a href=
"../System/types/ValueType.html">System.ValueType
</a></li>
353 <li><a href=
"../System/types/Enum.html">System.Enum
</a></li>
355 <li><a href=
"../System.Security.Permissions/types/EnvironmentPermissionAccess.html">System.Security.Permissions.EnvironmentPermissionAccess
</a></li>
358 <li><a href=
"../System.Security.Permissions/types/FileDialogPermissionAccess.html">System.Security.Permissions.FileDialogPermissionAccess
</a></li>
361 <li><a href=
"../System.Security.Permissions/types/FileIOPermissionAccess.html">System.Security.Permissions.FileIOPermissionAccess
</a></li>
364 <li><a href=
"../System.Security.Permissions/types/IsolatedStorageContainment.html">System.Security.Permissions.IsolatedStorageContainment
</a></li>
367 <li><a href=
"../System.Security.Permissions/types/PermissionState.html">System.Security.Permissions.PermissionState
</a></li>
370 <li><a href=
"../System.Security.Permissions/types/ReflectionPermissionFlag.html">System.Security.Permissions.ReflectionPermissionFlag
</a></li>
373 <li><a href=
"../System.Security.Permissions/types/SecurityAction.html">System.Security.Permissions.SecurityAction
</a></li>
376 <li><a href=
"../System.Security.Permissions/types/SecurityPermissionFlag.html">System.Security.Permissions.SecurityPermissionFlag
</a></li>
379 <li><a href=
"../System.Security.Permissions/types/UIPermissionClipboard.html">System.Security.Permissions.UIPermissionClipboard
</a></li>
382 <li><a href=
"../System.Security.Permissions/types/UIPermissionWindow.html">System.Security.Permissions.UIPermissionWindow
</a></li>
386 </ul><br><i><a href=
"../documentation_license.txt">
387 Copyright (c)
2002 Microsoft Corporation. All rights reserved.